module.exports={
    add(data){
        return request({
            url: '/profile',
            headers: {},
            method: 'post',
            data: data
        });
    },
    edit(data){
        return request({
            url: '/profile',
            headers: {},
            method: 'put',
            data: data
        });
    },
    remove(data){
        return request({
            url: '/profile/'+data,
            headers: {},
            method: 'delete'
        });
    },
    list(data){
        return request({
            url: '/profile/list',
            headers: {},
            method: 'get',
            params: data
        });
    },
    info(id){
        return request({
            url: '/profile/info/'+id,
            headers: {},
            method: 'get'
        });
    }
}
